gtk4.git
5 years agotreeview: Update the description format
Emmanuele Bassi [Mon, 22 Feb 2021 19:08:05 +0000 (19:08 +0000)]
treeview: Update the description format

5 years agoexpression: Update docs format
Emmanuele Bassi [Mon, 22 Feb 2021 17:35:39 +0000 (17:35 +0000)]
expression: Update docs format

And add documentation stanzas for GtkExpression sub-types.

5 years agoBox GtkExpressionWatch
Emmanuele Bassi [Mon, 22 Feb 2021 18:23:36 +0000 (18:23 +0000)]
Box GtkExpressionWatch

Otherwise bindings won't know how to deal with memory management.

5 years agocsssection: Update docs syntax
Emmanuele Bassi [Mon, 22 Feb 2021 17:19:37 +0000 (17:19 +0000)]
csssection: Update docs syntax

5 years agoapplication: Convert docs
Emmanuele Bassi [Mon, 22 Feb 2021 14:55:55 +0000 (14:55 +0000)]
application: Convert docs

Drop mentions of command line arguments parsed by gtk_init(), and of the
GDK lock.

5 years agodocs: Fix property annotation
Emmanuele Bassi [Mon, 22 Feb 2021 14:52:40 +0000 (14:52 +0000)]
docs: Fix property annotation

5 years agospinbutton: Convert docs
Matthias Clasen [Mon, 22 Feb 2021 04:40:49 +0000 (23:40 -0500)]
spinbutton: Convert docs

Change link syntax, add an example image, generally clean things up.

5 years agosearchentry: Convert docs
Matthias Clasen [Mon, 22 Feb 2021 04:40:32 +0000 (23:40 -0500)]
searchentry: Convert docs

Change link syntax, add an example image, generally clean things up.

5 years agopasswordentry: Convert docs
Matthias Clasen [Mon, 22 Feb 2021 04:40:14 +0000 (23:40 -0500)]
passwordentry: Convert docs

Change link syntax, add an example image, generally clean things up.

5 years agoeditablelabel: Convert docs
Matthias Clasen [Mon, 22 Feb 2021 04:39:42 +0000 (23:39 -0500)]
editablelabel: Convert docs

Change link syntax, add an example image, generally clean things up.

5 years agoconstrainttarget: Convert docs
Matthias Clasen [Mon, 22 Feb 2021 04:39:23 +0000 (23:39 -0500)]
constrainttarget: Convert docs

5 years agobuildable: Convert docs
Matthias Clasen [Mon, 22 Feb 2021 04:38:48 +0000 (23:38 -0500)]
buildable: Convert docs

Change link syntax.

5 years agoaccessible: Convert docs
Matthias Clasen [Mon, 22 Feb 2021 03:32:34 +0000 (22:32 -0500)]
accessible: Convert docs

Change link syntax.

5 years agowidget: Convert docs
Matthias Clasen [Mon, 22 Feb 2021 03:31:49 +0000 (22:31 -0500)]
widget: Convert docs

Some work toward converting the docs to markdown.

More work needed, in particular around vfuncs and
class functions.

5 years agoentry: Convert docs
Matthias Clasen [Mon, 22 Feb 2021 00:43:32 +0000 (19:43 -0500)]
entry: Convert docs

Change link syntax, add an example image, generally clean things up.

5 years agoswitch: Convert docs
Matthias Clasen [Mon, 22 Feb 2021 00:43:19 +0000 (19:43 -0500)]
switch: Convert docs

Change link syntax, add an example image, generally clean things up.

5 years agovolumebutton: Convert docs
Matthias Clasen [Mon, 22 Feb 2021 00:43:00 +0000 (19:43 -0500)]
volumebutton: Convert docs

Change link syntax, add an example image, generally clean things up.

5 years agofontbutton: Convert docs
Matthias Clasen [Mon, 22 Feb 2021 00:42:45 +0000 (19:42 -0500)]
fontbutton: Convert docs

Change link syntax, add an example image, generally clean things up.

5 years agocolorbutton: Convert docs
Matthias Clasen [Mon, 22 Feb 2021 00:42:17 +0000 (19:42 -0500)]
colorbutton: Convert docs

Change link syntax, add an example image, generally clean things up.

5 years agodropdown: Convert docs
Matthias Clasen [Mon, 22 Feb 2021 00:41:58 +0000 (19:41 -0500)]
dropdown: Convert docs

Change link syntax, add an example image, generally clean things up.

5 years agoappchooserbutton: Convert docs
Matthias Clasen [Mon, 22 Feb 2021 00:41:33 +0000 (19:41 -0500)]
appchooserbutton: Convert docs

Change link syntax, add an example image, generally clean things up.

5 years agolockbutton: Convert docs
Matthias Clasen [Sun, 21 Feb 2021 22:21:24 +0000 (17:21 -0500)]
lockbutton: Convert docs

Change link syntax, add an example image, generally clean things up.

5 years agocomboboxtext: Convert docs
Matthias Clasen [Sun, 21 Feb 2021 22:21:00 +0000 (17:21 -0500)]
comboboxtext: Convert docs

Change link syntax, add an example image, generally clean things up.

5 years agocombobox: Convert docs
Matthias Clasen [Sun, 21 Feb 2021 22:20:23 +0000 (17:20 -0500)]
combobox: Convert docs

Change link syntax, add an example image, generally clean things up.

5 years agodocs: Remove duplicate documentation stanzas
Emmanuele Bassi [Mon, 22 Feb 2021 00:12:17 +0000 (00:12 +0000)]
docs: Remove duplicate documentation stanzas

5 years agodocs: Fix typos
Emmanuele Bassi [Mon, 22 Feb 2021 00:11:52 +0000 (00:11 +0000)]
docs: Fix typos

5 years agodocs: Fix value annotation
Emmanuele Bassi [Mon, 22 Feb 2021 00:10:56 +0000 (00:10 +0000)]
docs: Fix value annotation

Drop the `:`.

5 years agodocs: Fix copy-paste error in GdkDevice
Emmanuele Bassi [Mon, 22 Feb 2021 00:10:35 +0000 (00:10 +0000)]
docs: Fix copy-paste error in GdkDevice

5 years agodocs: Fix the MenuButton direction property links
Emmanuele Bassi [Mon, 22 Feb 2021 00:09:57 +0000 (00:09 +0000)]
docs: Fix the MenuButton direction property links

5 years agomenubutton: Convert docs
Matthias Clasen [Sun, 21 Feb 2021 18:51:04 +0000 (13:51 -0500)]
menubutton: Convert docs

Change link syntax, add an example image, generally clean things up.

5 years agocheckbutton: Convert docs
Matthias Clasen [Sun, 21 Feb 2021 18:15:39 +0000 (13:15 -0500)]
checkbutton: Convert docs

Change link syntax, add an example image, generally clean things up.

5 years agodocs: Split images for check and radio buttons
Matthias Clasen [Sun, 21 Feb 2021 18:02:08 +0000 (13:02 -0500)]
docs: Split images for check and radio buttons

Its the same widget, but two images fit better in the gallery,
and will be easier to use as example images in the docs.

5 years agolinkbutton: Convert docs
Matthias Clasen [Sun, 21 Feb 2021 17:53:26 +0000 (12:53 -0500)]
linkbutton: Convert docs

Change link syntax, add an example image, generally clean things up.

5 years agodocs: Improve the togglebutton image
Matthias Clasen [Sun, 21 Feb 2021 17:44:28 +0000 (12:44 -0500)]
docs: Improve the togglebutton image

Make it actually show toggles.

5 years agowayland: Fix a link
Matthias Clasen [Sun, 21 Feb 2021 17:39:28 +0000 (12:39 -0500)]
wayland: Fix a link

gi-docgen currently can't handle links without namespace
in the Wayland docs.

5 years agotogglebutton: Convert docs
Matthias Clasen [Sun, 21 Feb 2021 16:16:19 +0000 (11:16 -0500)]
togglebutton: Convert docs

Change link syntax, add an example image, generally clean things up.

5 years agobutton: Convert docs
Matthias Clasen [Sun, 21 Feb 2021 16:04:58 +0000 (11:04 -0500)]
button: Convert docs

Change link syntax, add an example image, generally clean things up.

5 years agodocs: Fix the annotation for GtkTextView:justification
Emmanuele Bassi [Sun, 21 Feb 2021 01:15:49 +0000 (01:15 +0000)]
docs: Fix the annotation for GtkTextView:justification

5 years agodocs: Fix up the 3-to-4 migration guide
Emmanuele Bassi [Sun, 21 Feb 2021 01:08:52 +0000 (01:08 +0000)]
docs: Fix up the 3-to-4 migration guide

5 years agodocs: Add backend links to the gdk docs
Matthias Clasen [Sun, 21 Feb 2021 15:39:26 +0000 (10:39 -0500)]
docs: Add backend links to the gdk docs

These are placeholders for when we know how to
link across namespaces.

5 years agodocs: Add separate toml files for gdk backends
Matthias Clasen [Sun, 21 Feb 2021 15:38:39 +0000 (10:38 -0500)]
docs: Add separate toml files for gdk backends

Reusing the same one duplicates the standalone
docs, which doesn't quite seem right.

5 years agodocs: Brush up the Wayland backend docs
Matthias Clasen [Sun, 21 Feb 2021 15:40:24 +0000 (10:40 -0500)]
docs: Brush up the Wayland backend docs

Add some content here.

5 years agogdk: Some more tweaks of the docs
Matthias Clasen [Sun, 21 Feb 2021 14:19:37 +0000 (09:19 -0500)]
gdk: Some more tweaks of the docs

5 years agodocs: Add some links to the pango chapter
Matthias Clasen [Sun, 21 Feb 2021 14:18:24 +0000 (09:18 -0500)]
docs: Add some links to the pango chapter

5 years agodocs: Rework the gdk docs
Matthias Clasen [Sun, 21 Feb 2021 05:13:57 +0000 (00:13 -0500)]
docs: Rework the gdk docs

Convert links, make things more concise.

5 years agodocs: Move GdkEvent docs inline
Matthias Clasen [Sat, 20 Feb 2021 15:26:17 +0000 (10:26 -0500)]
docs: Move GdkEvent docs inline

This is not really worth a chapter of its own.

5 years agodocs: Improve gsk docs
Matthias Clasen [Sat, 20 Feb 2021 06:09:55 +0000 (01:09 -0500)]
docs: Improve gsk docs

Convert link formats, add summaries, and make
a few missing things show up in the docs.

5 years agodocs: Tweak X11 section
Matthias Clasen [Sat, 20 Feb 2021 05:21:42 +0000 (00:21 -0500)]
docs: Tweak X11 section

Remove unsupported heading anchors.

5 years agodocs: Tweaks Windows section
Matthias Clasen [Sat, 20 Feb 2021 05:21:21 +0000 (00:21 -0500)]
docs: Tweaks Windows section

Remove unsupported heading anchors.

5 years agodocs: Tweak Wayland section
Matthias Clasen [Sat, 20 Feb 2021 05:20:46 +0000 (00:20 -0500)]
docs: Tweak Wayland section

Remove unsupported heading anchors.

5 years agodocs: Tweak a11y section
Matthias Clasen [Sat, 20 Feb 2021 05:20:23 +0000 (00:20 -0500)]
docs: Tweak a11y section

Convert link syntax.

5 years agodocs: Tweak running chapter
Matthias Clasen [Sat, 20 Feb 2021 05:19:51 +0000 (00:19 -0500)]
docs: Tweak running chapter

Remove unsupported heading anchors, fix definition
list use.

5 years agodocs: Tweak input overview
Matthias Clasen [Sat, 20 Feb 2021 05:19:23 +0000 (00:19 -0500)]
docs: Tweak input overview

Remove unsupported heading anchors.

5 years agodocs: Tweak drawing model overview
Matthias Clasen [Sat, 20 Feb 2021 05:18:49 +0000 (00:18 -0500)]
docs: Tweak drawing model overview

Fix link syntax, remove gtk-doc markup.

5 years agodocs: Tweak css properties section
Matthias Clasen [Sat, 20 Feb 2021 05:18:21 +0000 (00:18 -0500)]
docs: Tweak css properties section

Fix the use of definition lists.

5 years agodocs: Tweak the actions overview
Matthias Clasen [Sat, 20 Feb 2021 05:17:20 +0000 (00:17 -0500)]
docs: Tweak the actions overview

Fix use of definition lists, and remove some gtk-doc
markup.

5 years agobuilding: Minor tweaks
Matthias Clasen [Sat, 20 Feb 2021 04:33:51 +0000 (23:33 -0500)]
building: Minor tweaks

Remove unsupported anchors from headings.

5 years agovideo: Convert docs
Matthias Clasen [Sat, 20 Feb 2021 04:33:24 +0000 (23:33 -0500)]
video: Convert docs

Change link syntax, add an example image, generally clean things up.

5 years agoglarea: Convert docs
Matthias Clasen [Sat, 20 Feb 2021 04:33:00 +0000 (23:33 -0500)]
glarea: Convert docs

Change link syntax, add an example image, generally clean things up.

5 years agodrawingarea: Convert docs
Matthias Clasen [Sat, 20 Feb 2021 04:32:39 +0000 (23:32 -0500)]
drawingarea: Convert docs

Change link syntax, add an example image, generally clean things up.

5 years agotextview: Convert docs
Matthias Clasen [Sat, 20 Feb 2021 04:32:14 +0000 (23:32 -0500)]
textview: Convert docs

Change link syntax, add an example image, generally clean things up.

5 years agopicture: Convert docs
Matthias Clasen [Sat, 20 Feb 2021 04:31:50 +0000 (23:31 -0500)]
picture: Convert docs

Change link syntax, add an example image, generally clean things up.

5 years agoscale: Convert docs
Matthias Clasen [Sat, 20 Feb 2021 04:31:23 +0000 (23:31 -0500)]
scale: Convert docs

Change link syntax, add an example image, generally clean things up.

5 years agoimage: Convert docs
Matthias Clasen [Sat, 20 Feb 2021 04:30:59 +0000 (23:30 -0500)]
image: Convert docs

Change link syntax, add an example image, generally clean things up.

5 years agoseparator: Convert docs
Matthias Clasen [Sat, 20 Feb 2021 04:30:50 +0000 (23:30 -0500)]
separator: Convert docs

Change link syntax and add an example image.

5 years agocalendar: Convert docs
Matthias Clasen [Sat, 20 Feb 2021 04:30:06 +0000 (23:30 -0500)]
calendar: Convert docs

Change link syntax, add an example image, generally clean things up.

5 years agoscrollbar: Convert docs
Matthias Clasen [Sat, 20 Feb 2021 00:51:52 +0000 (19:51 -0500)]
scrollbar: Convert docs

Change link syntax, add an example image, generally clean things up.

5 years agoinfobar: Convert docs
Matthias Clasen [Fri, 19 Feb 2021 21:01:07 +0000 (16:01 -0500)]
infobar: Convert docs

Change link syntax, add an example image, generally clean things up.

5 years agodocs: Generate the DevHelp file for our namespaces
Emmanuele Bassi [Fri, 19 Feb 2021 22:09:34 +0000 (22:09 +0000)]
docs: Generate the DevHelp file for our namespaces

5 years agodocs: Update the "Getting Started" page
Emmanuele Bassi [Fri, 19 Feb 2021 22:07:48 +0000 (22:07 +0000)]
docs: Update the "Getting Started" page

Drop the Pandoc stuff, add the gi-docgen links, and remove a stray
docbook element.

5 years agostatusbar: Convert docs
Matthias Clasen [Fri, 19 Feb 2021 21:02:40 +0000 (16:02 -0500)]
statusbar: Convert docs

Change link syntax, add an example image, generally clean things up.

5 years agoinfobar: Convert docs
Matthias Clasen [Fri, 19 Feb 2021 21:01:07 +0000 (16:01 -0500)]
infobar: Convert docs

Change link syntax, add an example image, generally clean things up.

5 years agoprogressbar: Convert docs
Matthias Clasen [Fri, 19 Feb 2021 20:43:33 +0000 (15:43 -0500)]
progressbar: Convert docs

Change link syntax, add an example image, generally clean
things up.

5 years agolevelbar: Convert docs
Matthias Clasen [Fri, 19 Feb 2021 20:28:51 +0000 (15:28 -0500)]
levelbar: Convert docs

Change link syntax, add an example image, generally
clean things up.

5 years agospinner: Convert docs
Matthias Clasen [Fri, 19 Feb 2021 20:06:16 +0000 (15:06 -0500)]
spinner: Convert docs

Change link syntax and add an example image.

5 years agoaboutdialog: tweak the docs
Matthias Clasen [Fri, 19 Feb 2021 19:50:49 +0000 (14:50 -0500)]
aboutdialog: tweak the docs

Add a short summary.

5 years agolabel: Convert docs
Matthias Clasen [Fri, 19 Feb 2021 19:47:44 +0000 (14:47 -0500)]
label: Convert docs

Change link syntax, add singl-line summaries,
add missing property docs.

5 years agodocs: Bring the widget gallery back
Matthias Clasen [Fri, 19 Feb 2021 18:03:20 +0000 (13:03 -0500)]
docs: Bring the widget gallery back

We have all the images, lets put them to use.

5 years agodocs: Remove the last few remaining '+' from GTK
Emmanuele Bassi [Thu, 18 Feb 2021 18:28:48 +0000 (18:28 +0000)]
docs: Remove the last few remaining '+' from GTK

5 years agodocs: Clean up the first paragraph for various symbols
Emmanuele Bassi [Thu, 18 Feb 2021 18:17:56 +0000 (18:17 +0000)]
docs: Clean up the first paragraph for various symbols

The documentation engine will use the first paragraph as the summary for
a type or constant.

5 years agodocs: Show summary in the namespace index
Emmanuele Bassi [Thu, 18 Feb 2021 17:30:03 +0000 (17:30 +0000)]
docs: Show summary in the namespace index

5 years agodocs: Start porting GtkImage to the new style
Emmanuele Bassi [Thu, 18 Feb 2021 17:02:51 +0000 (17:02 +0000)]
docs: Start porting GtkImage to the new style

5 years agodocs: Port GtkAboutDialog to the new syntax
Emmanuele Bassi [Thu, 18 Feb 2021 13:38:55 +0000 (13:38 +0000)]
docs: Port GtkAboutDialog to the new syntax

We should also clean up the annotations, while we're at it.

5 years agobuild: Quiet down gi-docgen
Emmanuele Bassi [Thu, 18 Feb 2021 13:38:29 +0000 (13:38 +0000)]
build: Quiet down gi-docgen

We are only interested in the warnings and errors.

5 years agodocs: Fix up the style of the X11 content file
Emmanuele Bassi [Wed, 17 Feb 2021 17:52:20 +0000 (17:52 +0000)]
docs: Fix up the style of the X11 content file

5 years agodocs: Move detached sections into their own content file
Emmanuele Bassi [Wed, 17 Feb 2021 17:41:56 +0000 (17:41 +0000)]
docs: Move detached sections into their own content file

5 years agodocs: Split GdkDrag and GdkDrop sections
Emmanuele Bassi [Wed, 17 Feb 2021 14:22:54 +0000 (14:22 +0000)]
docs: Split GdkDrag and GdkDrop sections

This way we have a section for each class.

5 years agodocs: Rename GdkTexture section
Emmanuele Bassi [Wed, 17 Feb 2021 14:22:19 +0000 (14:22 +0000)]
docs: Rename GdkTexture section

The name needs to match the class.

5 years agodocs: Move gdkcairo section to an external file
Emmanuele Bassi [Wed, 17 Feb 2021 14:21:46 +0000 (14:21 +0000)]
docs: Move gdkcairo section to an external file

5 years agodocs: Move the gtkmain section to its own document
Emmanuele Bassi [Sun, 14 Feb 2021 19:36:15 +0000 (19:36 +0000)]
docs: Move the gtkmain section to its own document

The introspection data does not handle unattached sections like gtk-doc
does, so we need to move what was gtkmain into its own Markdown
document.

5 years agodocs: Use new link syntax
Emmanuele Bassi [Sun, 14 Feb 2021 19:00:12 +0000 (19:00 +0000)]
docs: Use new link syntax

5 years agodocs: Begin porting GtkWidget to the new format
Emmanuele Bassi [Sun, 14 Feb 2021 18:00:26 +0000 (18:00 +0000)]
docs: Begin porting GtkWidget to the new format

5 years agodoc: Port GtkConstraint to the new format
Emmanuele Bassi [Sun, 14 Feb 2021 18:00:00 +0000 (18:00 +0000)]
doc: Port GtkConstraint to the new format

5 years agodocs: De-indent GtkRecentInfo.get_applications() return value
Emmanuele Bassi [Sun, 14 Feb 2021 17:59:05 +0000 (17:59 +0000)]
docs: De-indent GtkRecentInfo.get_applications() return value

Otherwise the four spaces will be treated as a pre-formatted block by
Markdown.

5 years agodocs: Start porting GtkConstraintLayout to the new doc format
Emmanuele Bassi [Fri, 12 Feb 2021 00:19:41 +0000 (00:19 +0000)]
docs: Start porting GtkConstraintLayout to the new doc format

Drop the old gtk-doc'isms, and use the gi-docgen links instead.

5 years agodocs: Add metadata preamble to GTK's content files
Emmanuele Bassi [Wed, 10 Feb 2021 14:03:56 +0000 (14:03 +0000)]
docs: Add metadata preamble to GTK's content files

5 years agodocs: Drop gtk-doc files
Emmanuele Bassi [Thu, 18 Feb 2021 12:59:09 +0000 (12:59 +0000)]
docs: Drop gtk-doc files

We don't use gtk-doc to generate our API reference, so we don't need its
files lying around any more.

5 years agoGenerate GTK API reference(s) with gi-docgen
Emmanuele Bassi [Wed, 10 Feb 2021 13:41:53 +0000 (13:41 +0000)]
Generate GTK API reference(s) with gi-docgen

Stop using gtk-doc, and switch to gi-docgen.

The gi-docgen tool generates API references through the introspection
data, which has various benefits:

 - it does not parse C code
 - it does not generate and run C code to introspect types at build time
 - it does not present a different API from the one we're exporting

Additionally, gi-docgen:

 - does not generate DocBook XML in order to generate HTML
 - does not go through xsltproc
 - parses proper Markdown

Which makes it markedly faster than gtk-doc has ever been.

5 years agoAdd gi-docgen as a subproject
Emmanuele Bassi [Wed, 10 Feb 2021 13:38:51 +0000 (13:38 +0000)]
Add gi-docgen as a subproject

While we're developing gi-docgen it's better to have it as part of our
build.

5 years agoci: Update the fedora-docs Docker image
Emmanuele Bassi [Mon, 15 Feb 2021 18:02:53 +0000 (18:02 +0000)]
ci: Update the fedora-docs Docker image

Use the latest base image.